[PATCH 6.6 280/676] cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()