mesa: don't execute most of _mesa_update_state_locked for GL core profile