Rename NOTMUCH_MAX_TERM to NOTMUCH_TERM_MAX