x86, ioapic: Restore the mask bit correctly in eoi_ioapic_irq()