cpufreq_ondemand: Refactor
cpufreq: ondemand: Use interruptible wait to not affect load average

Change-Id: I44a98cf1b432aabf29decb43e606fd8e2e87bf42
cpufreq: ondemand: Resolve deadlock when waking up sync thread