Plugins build without CGo, so they can't import (directly or indirectly)
any packages that require CGo.
In #47045 we added a lib/config import to pull in a constant, which
added a large dependency tree that included CGo dependencies.
Fix the builds by duplicating the constant and avoiding the import.