[PATCH 6.12 019/232] regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods