cpufreq: interactive: Convert kmalloc with multiple to kmalloc_array

* Also fix a derp.

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>