x86, ioapic: Fix non atomic allocation with interrupts disabled