[PATCH 5.10 249/352] genirq: Allow irq_chip registration functions to take a const irq_chip