cpufreq: Applied tweaks of ondemand governor from Adam 3.5.