[PATCH 6.1.y] cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value