[PATCH AUTOSEL 6.4 08/25] iio: core: Use min() instead of min_t() to make code more robust