cpufreq: move level end definition into the header file