[PATCH 6.15 025/178] regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods