Fix Message comparison method to ensure there's no side-effects.

Comparing a Message w/o message_id set to another object would set it's
Message-ID to a temporary value.  Ditto for the object compared to.