(imap-parse-flag-list): Correctly parse empty lists.