[PATCH AUTOSEL 5.15 07/19] iio: core: Use min() instead of min_t() to make code more robust