ddraw: Destroy the swapchain after the D3D device in DllMain().