mesa: add gl_vertex_array_object parameter to client state helpers