st/mesa: stop passing gl_linked_shader to set_affected_state_flags()