mesa: improved gl_buffer_object reference counting