[PATCH 6.15 08/92] iio: fix potential out-of-bound write