lib: make _notmuch_message_ensure_metadata static