[PATCH 4.9 23/58] cpufreq: check if policy is inactive early in __cpufreq_get()