Bug 994413 - Make Gecko use the same value marking semantics as SpiderMonkey; r=jonco,mccr8