Move JavaScriptCore thread testing code to pthread specific directory