Bug 918350 - SpiderMonkey: Fix compile errors on x86 and ARM.