Self-Consistency Boosts Calibration for Math Reasoning