fix: empty process.platform
with __runtime_js_sources
#24005
Merged
process.platform
with __runtime_js_sources
#24005