RSAM: Learning on manifolds with Riemannian Sharpness-aware Minimization