Update the JIProlog adapter file to use the `compile/1` and `load/1` predicates instead of the `consult/1` predicate