Bug 856315 update calculateMedianStartupTime to ignore values above PAINT_TIME_THRESHOLD

@lauraxt r?