Only uses the value of the `report` flag in the default code for printing messages

This allows the user to intercept any compiler message (by defining clauses for the `logtalk::message_hook/4` hook predicate).