Update supported go version to 1.18.* and 1.19.*

Client: go

Also provide generic version of Pointer helper function.
diff --git a/lib/go/test/fuzz/go.mod b/lib/go/test/fuzz/go.mod
index 3cefa02..c9ef373 100644
--- a/lib/go/test/fuzz/go.mod
+++ b/lib/go/test/fuzz/go.mod
@@ -1,6 +1,6 @@
 module github.com/apache/thrift/lib/go/test/fuzz
 
-go 1.16
+go 1.18
 
 replace github.com/apache/thrift => ../../../../