simx86: fix off-by-one error with ngen that resulted in silent crashes