x86: use identical loop constructs in 32-bit and 64-bit native_init_IRQ()