[PATCH 5.10 063/193] gpio: Add helpers to ease the transition towards immutable irq_chip