wined3d: Avoid surface_from_resource() in swapchain_gdi_frontbuffer_updated().