MDL-43151 assign: Use grade_grade->is_passed

Do not try and calculate this inside mod_assign - it's a gradebook thing only.