[PATCH 5.15.y 3/8] minmax: clamp more efficiently by avoiding extra comparison