metadata/gc.c: Fix a warning when casting MonoInternalThread->tid.