[Experiment][turbopack-go] Parameterize Go builds by output kind
Scaffolding for an experiment: the native RSC runtime, a highly
experimental runtime for rendering React Server Components on the
server. None of it is usable yet.
A refactor with no change in behavior. The next steps build a Go package
into a C shared library and scan its exports with a second host tool.
Both reuse the code route.go already uses, so this makes that code take
the kind of output as an input instead of copying it.
The build takes a `GoBuildKind`, and the host tool runner takes a
`GoHostTool`. Each has a single variant for now: route.go's executable
and its declarations parser. Error messages and cache paths are
unchanged. A persistent cache from an older build misses once.
### Test plan
`cargo test -p turbopack-go -p turbopack-cli` and the route.go suite
pass unchanged.