cpufreq: Add conditions for when retain_cpu_policy is disabled