[PATCH 5.10 109/208] regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods