Prevent crash from migrated xchat config without default_charset

issue #115