[PATCH 3/7 6.12.y] minmax.h: reduce the #define expansion of min(), max() and clamp()