Check that GMP actually works in its FindPackage
GMP library might be found and its include files as well, but this does not mean that the package can work with the compiler toolchain. This MR adds a try_compile
check that a simple example can be compiled and linked with GMP. It fails, for example, when libc++ is used as c++ standard library.