py, gc: Further simplify coding-style of gc_realloc.

No logic changes, just coding style to make it easy to read.