Make gmp_store more consistent with other operations