MDL-35984 Grades: Fix deprecation of grade_category::aggregate_values