gl::vertex_array: Fix unbind()

! unbind() should only work if cur_va is set; and it should set cur_va
  to nullptr afterwards.