x86, apic: Use probe routines to simplify apic selection