A Calabi operator for Riemannian locally symmetric spaces