Riemannian accelerated gradient methods via extrapolation