d3d: Prevent crash on Release() of render-to-tex.

Might be safer to do as we do in GLES and always have a texture...