Extreme value analysis of ultrasonic thickness measurements