Fix MSVC warning for gc.c

Fixed warning for implicit type conversion.