x86, ioapic: Throw BUG instead of NULL dereference