[runtime] Fix a warning which happens because we store the thread tid as a guint64.