[test] Move requires_wasm2js to test/common.js. NFC
#21412
Merged
requires_wasm2js to test/common.js. NFC
#21412