SERVER-139279ClosedFixed
Propagate standalone SpiderMonkey API declarations
Add JS_STANDALONE=1 to the public defines for mozjs in src/third_party/mozjs/BUILD.bazel, alongside STATIC_JS_API=1. SpiderMonkey's MFBT headers require both settings to declare static-library APIs correctly; without JS_STANDALONE, Windows consumers declare DLL imports. The definition matches the existing generated standalone configuration on every supported platform. Extracted from #66298 for review by query-integration-features. Based directly on master and independent of the other team fixes