cpufreq: ondemand: Resolve deadlock when waking up sync thread

https://github.com/neobuddy89/chaos_hammerhead/commit/797ab7de8bb1c45c21fe5d33a6174bb69c114a5f