[PATCH 5.4 42/92] irqdomain: Refactor __irq_domain_alloc_irqs()