cpufreq: cpu0: Make allocate_resources() work for any CPU