As suggested by @TylerHelmuth in https://github.com/open-telemetry/opentelemetry-collector/pull/9057#discussion_r1420981761, the collector now includes a copy of semconvkit that live in the go repo. This code could be moved here to share across repos.