wined3d: Keep a reference to the resource in rendertarget views.