fix Issue 10633 - Win64: wrong codegen with %=
Merge pull request #2347 from WalterBright/fix10633

fix Issue 10633 - Win64: wrong codegen with %=