Bug 1061713 - Don't crash release builds if a D3D TextureClient is unlocked without being locked. r=Bas