fix Issue 10633 - Win64: wrong codegen with %=

fix http://d.puremagic.com/issues/show_bug.cgi?id=10633