cpufreq_wheatley: fix build error and warning messages