mailinfo: apply the same fix not to lose NULs in BASE64 and QP codepaths