That's obviously kinda hacky. Alternatively, we could have a proper wrapper for the entry point. Didn't consider the i386 case as the thread entry point never returns.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55014
Signed-off-by: Eric Pouech epouech@codeweavers.com