Update Go versions used in travis and LANGUAGES.md

Per our support policy, drop support of go 1.16 and add support of go
1.18.

Also enable go vet in make check, and fix issues reported by go vet.
14 files changed