Histogram: fix static analysis error + format see Chapter 3 of https://www.kernel.org/doc/Documentation/CodingStyle

Linux coding style rules
HistogramCPU: free() works on a NULL pointer too!