PM / devfreq: Fix simple_ondemand crashing

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>