Fix compilation in debug mode for the built-in `current_logtalk_flag/2` and `set_logtalk_flag/2` predicates