wined3d: Unload implicit depth stencil buffers correctly.