hw/i386/pc: Fix misusing qemu_allocate_irqs for single irq