Infinitesimal Hilbertianity of Locally CAT (κ) -Spaces