[PATCH 05/27 5.10.y] minmax: Introduce {min,max}_array()