IO APIC: Mask the interrupt signal before trying to clear IRR by switching