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