upgrade libmagic to 5.12