iio: fix potential out-of-bound write (CVE-2025-38667) | HOL Guard CVE