ports-mgmt/pkg: Drop use of deprecated libarchive functions