cpufreq: add generic get_cpuidle_time to the cpufreq headers so that …

…we don't need to implement this everytime we need it.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
so much mess