Linux getxattr returns ENODATA when the attribute doesn't exist, but macOS and FreeBSD both return ENOATTR in that case.
Avoids warnings like `0050:warn:file:get_file_info Failed to get extended attribute user.DOSATTRIB from "<..>/dosdevices/c:/windows/system32/rpcss.exe". errno 93 (Attribute not found)`