Update the JIProlog adapter file to take advantage of the stream position property introduced in the latest build