[PATCH 6.15 069/192] gpiolib: fix performance regression when using gpio_chip_get_multiple()