Fix incorrect condition in set_completed_size and set_completed_files
Prevent using AUTOAR_*_LAST constant outside autoar-format-filter.[ch]