MDL-46620 messages Make sure full message is used for read marking

message_mark_message_read needs to have the full message object,
otherwise data will be lost.