Define VERSION_INFO_EXTRA in top-level CMakeLists

Allows the -git tag to be dropped from all components easily,
without having to edit any files.