[PATCH v2 11/12 6.6.y] minmax.h: simplify the variants of clamp()