Convert the gmp cmm primops to use local stack allocation