irc: Fix truncation of UTF-8 multi-byte sequences
irc: Fix truncation of UTF-8 multi-byte sequences

If the message is left with a trailing partial multi-byte sequence
after truncation, then strip the sequence.

thsnr/gygax