[PATCH v2] idlestat: Allocate struct cpufreq_pstate dynamically