x86/irq: Reorganize the return path in assign_irq_vector