Fix overflow bug in HistogramData.getValueAtPercentile()