Modify run-jenkins.sh to adapt wasm build for the OSX CI lane (#16785)