cmd/dist: remove the use of debug/elf package
cmd/dist: remove the use of debug/elf package

debug/elf is only needed to determine the endianness of the host
machine, which is easy to do without debug/elf.

Fixes #15180.

Change-Id: I21035ed3884871270765a1ca3b812a5d4890a7ee
Reviewed-on: https://go-review.googlesource.com/21662
Reviewed-by: Brad Fitzpatrick <ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@golang.org>
Run-TryBot: Minux Ma <72d850dbd8858b791995463d8539b5a379577f28@golang.org>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>

ImJasonH/go,goodlang/good,derekmarcotte/go,ganboing/go-esx,ImJasonH/go,vsekhar/elastic-go,Cofyc/go,goodlang/good,polyverse-security/go,CAFxX/go,CAFxX/go,derekmarcotte/go,CAFxX/go,suncycheng/go,cloudflare/go,ImJasonH/go,Cofyc/go,momchil-velikov/go,akutz/go,josharian/go,akutz/go,Cofyc/go,suncycheng/go,linux-on-ibm-z/go,akutz/go,vsekhar/elastic-go,4ad/go,nawawi/go,josharian/go,polyverse-security/go,4ad/go,cloudflare/go,akutz/go,golang/go,ganboing/go-esx,golang/go,Cofyc/go,suncycheng/go,nawawi/go,goodlang/good,goodlang/good,ImJasonH/go,codestation/go,theif519/go,Cofyc/go,akutz/go,CAFxX/go,CAFxX/go,ganboing/go-esx,theif519/go,linux-on-ibm-z/go,Cofyc/go,nawawi/go,cloudflare/go,Cofyc/go,cloudflare/go,akutz/go,derekmarcotte/go,cloudflare/go,ImJasonH/go,CAFxX/go,suncycheng/go,theif519/go,Cofyc/go,derekmarcotte/go,josharian/go,CAFxX/go,theif519/go,suncycheng/go,goodlang/good,goodlang/good,4ad/go,cloudflare/go,ganboing/go-esx,golang/go,momchil-velikov/go,linux-on-ibm-z/go,linux-on-ibm-z/go,derekmarcotte/go,codestation/go,polyverse-security/go,derekmarcotte/go,4ad/go,vsekhar/elastic-go,codestation/go,josharian/go,nawawi/go,momchil-velikov/go,josharian/go,golang/go,momchil-velikov/go,momchil-velikov/go,vsekhar/elastic-go,vsekhar/elastic-go,suncycheng/go,linux-on-ibm-z/go,golang/go,polyverse-security/go,momchil-velikov/go,ganboing/go-esx,theif519/go,4ad/go,josharian/go,goodlang/good,christopher-henderson/Go,momchil-velikov/go,4ad/go,vsekhar/elastic-go,polyverse-security/go,derekmarcotte/go,goodlang/good,suncycheng/go,linux-on-ibm-z/go,theif519/go,ImJasonH/go,nawawi/go,nawawi/go,suncycheng/go,golang/go,ImJasonH/go,4ad/go,codestation/go,vsekhar/elastic-go,polyverse-security/go,akutz/go,codestation/go,derekmarcotte/go,vsekhar/elastic-go,golang/go,cloudflare/go,ganboing/go-esx,ganboing/go-esx,codestation/go,josharian/go,codestation/go,polyverse-security/go,polyverse-security/go,akutz/go,josharian/go,linux-on-ibm-z/go,ImJasonH/go,linux-on-ibm-z/go,theif519/go,nawawi/go,CAFxX/go,codestation/go,ganboing/go-esx,cloudflare/go,theif519/go,4ad/go,nawawi/go,momchil-velikov/go,golang/go