Swap return value and argument of imap_threaded_capability()