Remove IMAPX_MODE_READ and IMAPX_MODE_WRITE flags.

We set these flags from READ-ONLY and READ-WRITE response codes in
IMAP status responses but we don't currently do anything with them.