wined3d: Add more debug code to CheckDeviceFormat.