x86/apic: Disable I/O APIC before shutdown of the local APIC