[CMake] Remove left-over entry in config.h.cmake.

This completes Markus' last commit related to UG 3.11.
[CMake] Fix typo in Grape library variable.

Improve variable caching.
[Grape] Moving const to fix clang warning.