THRIFT-2323 Uncompileable Delphi code generated for typedef'd structs

Patch: Jens Geyer