THRIFT-2902 Generated c_glib code does not compile with clang