regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods (CVE-2025-38395) | HOL Guard CVE