[PATCH AUTOSEL 4.19 06/14] iio: core: Use min() instead of min_t() to make code more robust