wined3d: Don't continue with CheckDeviceFormat when the texture format isn't around.