cpufreq: Applied tweaks of ondemand governor from Adam 3.5.

Change-Id: I7c580afd419ab97aa56feb079138f6b3e09b75b4