[PATCH v3] idlestat: Allocate struct cpufreq_pstate dynamically