x86/apic: Make cpu_mask_to_apicid() operations check cpu_online_mask