[PATCH 6.1 778/885] irqdomain: Refactor __irq_domain_alloc_irqs()