cmd/api: run half as many go list calls in parallel
cmd/api: run half as many go list calls in parallel

We currently run one 'go list' invocation per GOMAXPROC. Since the go
command uses memory and has its own internal parallelism, that's
unlikely to be an efficient use of resources. Run half as many. I
suspect that's still too many but this should fix our OOMs.

For #49957.

Change-Id: Id06b6e0f0d96387a2a050e400f38bde6ba71aa60
Reviewed-on: https://go-review.googlesource.com/c/go/+/370376
Trust: Heschi Kreinick <e89ab2b172855aa0ad01c40c4d8a3535a61ac68a@google.com>
Run-TryBot: Heschi Kreinick <e89ab2b172855aa0ad01c40c4d8a3535a61ac68a@google.com>
Reviewed-by: Bryan Mills <1c8aad60184261ccede67f5c63a0d2a3bf3c9ff4@google.com>

golang/go,CAFxX/go,CAFxX/go,nawawi/go,nawawi/go,nawawi/go,cloudflare/go,cloudflare/go,CAFxX/go,cloudflare/go,golang/go,nawawi/go,golang/go,CAFxX/go,golang/go,nawawi/go,nawawi/go,golang/go,CAFxX/go,nawawi/go,cloudflare/go,CAFxX/go,cloudflare/go,nawawi/go,golang/go,CAFxX/go,cloudflare/go,cloudflare/go,cloudflare/go,CAFxX/go,golang/go,golang/go