[PATCH 4/4] dxgi: Factor out d3d11_swapchain_get_hwnd().