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