thread: ensure normal thread running doesn't return VLC_THREAD_CANCELED
This would make the detection of a canceled thread vs normal run impossible.
Not implemented in posix/thread.c because we don't get the return code in our code. We could do it with an indirect call.
Draft as it depends on proper values from !762 (merged)
Edited by Steve Lhomme