Nonexistence for hyperbolic problems on Riemannian manifolds