[PATCH 04/15 6.6.y] minmax: make generic MIN() and MAX() macros available everywhere