Fix doRespondingTimeGraphPerTestCaseMode to work with averages instead of max (as noted in https://issues.jenkins-ci.org/browse/JENKINS-21786)