deps: update libmagic to 5.18
src: force MAGIC_ERROR flag to get ENOENT as real error