Apply some memory optimisations to the _TdmsSegmentObject class

Reading some TDMS files creates a lot of these objects, so try to reduce
their memory usage.

See issue #19.