THRIFT-2749: clean up cpp lib for cpp98 build
Client: CPP Lib
Patch: Randy Abernethy

Adds required limits header and reverts use of sizof on
nonstatic members to cpp98 conformance.