libarchive fixes for pacman-4.1.2