Apply AVRO-1369 fix until we upgrade to avro-c 1.7.6
Apply AVRO-1369 fix until we upgrade to avro-c 1.7.6

kadeng/json2avro,grisha/json2avro,kadeng/json2avro,kadeng/json2avro,kadeng/json2avro,grisha/json2avro,kadeng/json2avro,grisha/json2avro,grisha/json2avro,grisha/json2avro