Fix parsing of MAGIC_FORMAT and MAGIC_UNK173