iio: backend: fix out-of-bound write (CVE-2025-38484) | HOL Guard CVE