Fix singleton variable warning in the code of the `logtalk` built-in object