[PATCH 6.6 013/132] regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods