[PATCH v2 16/27 5.10.y] minmax: make generic MIN() and MAX() macros available everywhere