[PATCH 6.1 019/196] minmax: dont use max() in situations that want a C constant expression