cpufreq_interactive: Fix compile errors

Backporting commits from upstream naturally causes compile errors...