[PATCH 4.14 248/293] iio: iio-utils: Fix possible incorrect mask calculation