Bug 942552 - Unified sources causing build issues in SpiderMonkey with --disable-threadsafe. r=ehsan