st/glsl_to_tgsi: fix getting the image type for array of structs (again)