[PATCH 4.9 179/223] iio: iio-utils: Fix possible incorrect mask calculation