record_conv: fix error handling for marc charsets mis