anv/format: handle unsupported formats earlier