install gmp memory functions that let libgc know about allocations