Fix gmp detection on Mac

Remove -Wl,-R${GMP_HOME}/lib from the gmp test script in m4/gmp-check.m4 since
the -R option is not supported by the linker on OS X.