net-mail/courier-imap: fix 4.15 build, add patches