Revert "Revert "cpufreq: ondemand: Change the calculation of target frequency""

This reverts commit 3b2ea2e3fa3a132848b0974d915d552c89a4dadd.