[PATCH 5.15 314/511] cpufreq: Fix the race condition while updating the transition_task of policy