cmake: Fix determining git version
Fixes a bug where wrong CMake variable was checked. Instead of checking for existence of variable VERSION_STRING the code checked for existence of variable "value_of(VERSION_STRING)".
Fixes a bug where wrong CMake variable was checked. Instead of checking for existence of variable VERSION_STRING the code checked for existence of variable "value_of(VERSION_STRING)".