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