kmalloc: Use powerof2() to detect power-of-2 size