make jl_gc_counted_realloc use the standard signature for realloc
use a separate function for GMP, the only current known user
Merge branch 'master' of github.com:JuliaLang/julia