[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.

Backport from pvr addons:
https://github.com/opdenkamp/xbmc-pvr-addons/pull/378