py: Small cosmetic changes to gc_realloc.