Update AngelScript threading code to newest from SVN for WinXP compatibility fix.