vrend: clear cs_shader_dirty only after sucessfully picking a program
Otherwise, if launch_grid is called two times without updating the shaders, we will end up without a bound program and segfault eventually.
Closes: https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/502