CMake: add version control info to PACKAGE_VERSION, if available.