cmd/dist: only test SWIG if we have a new enough version
cmd/dist: only test SWIG if we have a new enough version

Fixes #22858

Change-Id: I0478d5609e381f01c7345e7f53c24af05d7f78ad
Reviewed-on: https://go-review.googlesource.com/82415
Run-TryBot: Ian Lance Taylor <87e9c6d529889242b7e184afb632328636553ab4@golang.org>
Reviewed-by: Brad Fitzpatrick <ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@golang.org>
Reviewed-by: Alberto Donizetti <90b16103a35511ced020676f3544f17117fb4c92@gmail.com>
Reviewed-by: Lynn Boger <b27445fe6fb259c37b8e0a4ce56e22e2413754bf@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>

codestation/go,josharian/go,josharian/go,akutz/go,golang/go,cloudflare/go,cloudflare/go,akutz/go,akutz/go,Cofyc/go,cloudflare/go,nawawi/go,codestation/go,CAFxX/go,Cofyc/go,josharian/go,golang/go,CAFxX/go,josharian/go,CAFxX/go,codestation/go,nawawi/go,josharian/go,codestation/go,codestation/go,Cofyc/go,golang/go,Cofyc/go,nawawi/go,cloudflare/go,cloudflare/go,akutz/go,christopher-henderson/Go,akutz/go,codestation/go,nawawi/go,Cofyc/go,golang/go,CAFxX/go,akutz/go,cloudflare/go,akutz/go,golang/go,josharian/go,cloudflare/go,golang/go,nawawi/go,Cofyc/go,nawawi/go,cloudflare/go,CAFxX/go,golang/go,Cofyc/go,codestation/go,CAFxX/go,codestation/go,nawawi/go,CAFxX/go,CAFxX/go,nawawi/go,golang/go,josharian/go,Cofyc/go,josharian/go,akutz/go