Merge pull request #8122 from Pokechu22/dx11-dxgi_factory DX11: Fix access violation on closing dolphin