crosstarget-utils: Propery conditionally check for `performance` global (#4730)
wasm-bindgen code, generated by `Option<Performance>` binding still does
not account for global not existing at all (it just handles
undefined/null case).
Replacing that with hand-written code that would check it existence
manually.