[PATCH 5.15 233/620] gpio: Add helpers to ease the transition towards immutable irq_chip