Uniform stabilization of the wave equation on compact manifolds and locally distributed damping - a sharp result