(gnus-summary-nnir-goto-thread): Modify to work with imap