Fix MSVC warning for gc.c
Merge pull request #2111 from kyab/fix_msvc_warning_gc.c

Fix MSVC warning for gc.c