GC: update size caches in realloc
Merge pull request #547 from rainers/fix6372

GC: update size caches in realloc