Fix in-tree GMP build (#8497) on OS X Mavericks

Signed-off-by: Austin Seipp <austin@well-typed.com>