[irqchip: irq/irqchip-next] irqdomain: Refactor __irq_domain_alloc_irqs()