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