Update base Go toolchain version.

No functional changes in this release. The minimum Go toolchain version has
been updated to 1.16 and uses of the deprecated io/ioutil package replaced.
Tests now use the go-cmp package instead of reflect.DeepEqual.
Remove old Go versions from the CI config.