[MacPorts] #47785: Fix post-build bug in swi-prolog-devel port