Update the library object `term` to use the `ground/1` ISO Prolog standard predicate