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