go: fix cgo clang support in devel.

Closes #23001.
Closes #23139.
References #23119.
CurlDownloadStrategy: no need to to_s, name should never be nil