[posix] - we need to obey the pthread func prototype - void * might not be
the same as a class pointer. This should fix deadhang on CreateThreads on
some darwin runtimes and maybe other posix platforms.