Fix multiple vulnerabilities in file(1) and libmagic(3).

Security:	FreeBSD-SA-14:16.file
Approved by:	so