ACPI: CPPC: Add NULL pointer check to cppc_get_perf()