lib: Add the exclude flag to notmuch_query_search_threads