Virtual Betti numbers of compact locally symmetric spaces