st/mesa: only minify height if target != 1D array in st_finalize_texture