Optional GMP support for HHVM

See
https://github.com/facebook/hhvm/commit/00bc37a5a81dd9ed06fed5dc644e641de82db9fa