[v28] JS_THREADSAFE fallbacks to the original value
[v28] Fix a bug for win32/android build