Minor refactoring of the implementation of the `logtalk_load/2` and `logtalk_compile/2` built-in predicates