Revert the rust-mozjs changes to support threadsafe SpiderMonkey.

These changes were integrated accidentally, and now cause segfaults during
conservative stack scanning.
Merge pull request #2990 from Ms2ger/revert-threadsafe

Revert the rust-mozjs changes to support threadsafe SpiderMonkey. ;r=jdm, Manishearth