cpufreq_ondemand.c: refactor up_threshold case

- what was I thinking :(
- now everything is great

Signed-off-by: SkipXS <sskkiipp@gmail.com>