x86/apic: Add separate apic_id_valid() functions for selected apic drivers