Bug 951285 - Don't check thread safety of Ion compilation when profiling scripts, r=jandem.