[PATCH 6.6 82/91] minmax: dont use max() in situations that want a C constant expression