Remove unused function jl_gc_counted_realloc

Its cousin jl_gc_counted_realloc_with_old_size remains.
Merge pull request #9069 from eschnett/no-counted-realloc

Remove unused function jl_gc_counted_realloc