JavaScriptCore: Some functions were missing the static modifier (SWIGINTERN or SWIGRUNTIME) which leads to duplicate symbol definitions if two SWIG modules are used.

v8 needs to be vetted for the same bugs.