sched: Make scheduler aware of cpu frequency state