Restore Rmath subproject.

Partial revert of cfca6fe.
Remove gmp_wrapper