notmuch: Use GNU libc getline() instead of glib GIOChannel