x86, apic: Move irq_remapping_enabled checks into IRQ-remapping code