cpufreq: sched: Fix kernel crash on accessing sysfs file