[PATCH 6.17 141/849] cpufreq/longhaul: handle NULL policy in longhaul_exit