[release][CMake] Fix GMP test to not always claiming it was found.

Properly quote variable GMP_FOUND.
Do not reuse variable GMP_FOUND.