Adding dumpHistogramStage and support for dumping histograms in ispn