[PATCH] [Backport] cppc_cpufreq: Fix possible null pointer dereference