[PATCH 14/15 6.6.y] minmax.h: simplify the variants of clamp()