Add API to inhibit all GC attempts.

Needed for https://github.com/mozilla-servo/rust-mozjs/pull/48