cpufreq: dynamic: Move setting of target frequency to the end