[v28] Reverse changes to JS_THREADSAFE