[C] Add call to get the amount of memory used by the hdr_histogram.
[C] Add initial encode and decode functions for hdr_histogram