wined3d: Merge the IWineD3DSurface::Flip() implementations.