PM: devfreq: Fix simple_ondemand crashing