Bug 905544 - Fix assertion failure in threadsafe builds with --disable-ion, r=billm.