wined3d: Reject unsupported modes when restting the device.