[PATCH v2 15/27 5.10.y] minmax: simplify and clarify min_t()/max_t() implementation