Delphi 2007 backwards compatibility fix
Delphi 2007 backwards compatibility fix

Moved type to inside IFDEF block due to compiler error with D2007

fabriciocolombo/delphi-rest-client-api,simar0at/delphi-rest-client-api,fabriciocolombo/delphi-rest-client-api,simar0at/delphi-rest-client-api,thomaserlang/delphi-rest-client-api,simar0at/delphi-rest-client-api,fabriciocolombo/delphi-rest-client-api,simar0at/delphi-rest-client-api,monde-sistemas/delphi-rest-client-api,thomaserlang/delphi-rest-client-api,monde-sistemas/delphi-rest-client-api,thomaserlang/delphi-rest-client-api,monde-sistemas/delphi-rest-client-api