[PATCH 5.15 030/145] irqdomain: Refactor __irq_domain_alloc_irqs()