remove gmp extension to allow compilation on Heroku

need to replace usage with bcmath when gmp extension not available