imjournal: sanitize messages in the same way as imuxsock does