cpufreq: dynamic: Move boosted case after check for freq increase

The input boost freq could be lower than the targeted freq in times
of load increase. Take that into account when boosting frequency.