FairSAM: Fair Classification on Corrupted Data Through Sharpness-Aware Minimization