[C] Show error handling in example.
[C] Updated comments in hdr_histogram.h around error reporting.