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