swi-prolog: optional libarchive support

Also prevent finding a MacPorts installed libarchive.

Closes #28666.
swi-prolog: add 6.6.4 bottle.