cpufreq: ondemand: upstream fixes, sync with CM12

Signed-off-by: engstk <eng.stk@sapo.pt>