Fix registering core show codecs/codec CLI commands twice.