st/mesa: change glsl_to_tgsi_visitor from class to struct