[runtime] Implement GetCurrentThreadId () using mono-threads.