fix LCR/LCGR overflow tests in simulator.