[PATCH openEuler-5.10 037/146] iio: imu: st_lsm6dsx: Avoid potential array overflow in st_lsm6dsx_set_odr()