notmuch-index-message: Avoid crashing when a message has no references.