PM / devfreq: Fix simple_ondemand crashing

Signed-off-by: GuneetAtwal <harjinder767@gmail.com>