Bug 1043929 - Unlock the mask texture in case of failure. r=Bas
Bug 1043929 - Ensure that a locked TextureHost can give access to a valid TextureSource for some of the texture types. r=Bas