Few sanitation fixes as per CR.

Require semicolons after RDB_MAKE_ME_EQUALITY_COMPARABLE_.
Use the RDB_MAKE_ME_EQUALITY_COMPARABLE_ in mailbox code.