Fix IMAP access to encrypted mails
* src/mapihelp.cpp (parse_header_data): Do not treat anything except -1 as an error.
This fixes the case where the message headers end in an empty
line. This results in a transition to body with return code 42.
- GnuPG-Bug-Id: T6203