[imap] lmtpd.c: prevent possible segfault

introduced by:
Replace struct sieve_imapflags_t with strarray_t