Characterization of Lower Semicontinuous Convex Functions on Riemannian Manifolds