cpufreq: fixing some annoying compiler warnings