Issue #13722: Avoid silencing ImportErrors when initializing the codecs registry.