cpufreq: correctly set/limit min & max frequencies