go: install to libexec to keep private headers

Install all files to libexec, including go private headers.
Symlink binaries to bin from there.

Closes #22638.
go: simplify target list

Remove "opts" and figure out cgo based on os