Merge "opengl: fix a race condition when unloading gl driver"