[PATCH v6 05/20] irqdomain: Refactor __irq_domain_alloc_irqs()