[runtime] Get rid of OpenThread (), move its functionality to mono-threads.c.