Bug 974841 - Fix TextureClientX11::Lock. r=jrmuizel