Use THREAD_INFO_TYPE consistently in mono-threads.h.