wined3d: Implement resetting the device window in wined3d_device_reset().