[PATCH 5.15 247/276] minmax: simplify and clarify min_t()/max_t() implementation