zero-terminate imap literals
now that we properly support literals for strings, we must expect that
the consumer code will use them as strings.
amends fc77feacc.
discovered by Armands Liepins <armandsl@gmail.com>
REFMAIL: CAF_KswXoxdm7KXnWW4b_1odf=XsE4qRqRN4AsecwcPF1d+dSTA@mail.gmail.com