Bug 838727 - Move emitDoubleToInt32 to MacroAssembler, r=jandem.