imapc: Give an early error message if imapc_list_prefix ends with separator.
imapc: Give an early error message if imapc_list_prefix ends with separator.

damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot