THRIFT-2384 Binary map keys produce uncompilable code in go

Patch: Aleksey Pesternikov
THRIFT-2378 service method arguments of binary type lead to uncompileable Go code

Patch: Jens Geyer