[PATCH 6.2 124/211] cpufreq: apple-soc: Fix an IS_ERR() vs NULL check