update version string for 6.4.0-RC1
Rename WITH_THREADS to WITH_THREAD_SAFETY in INSTALL.CMAKE.
Merge pull request #4750 from sebastic/install-cmake

Rename WITH_THREADS to WITH_THREAD_SAFETY in INSTALL.CMAKE.