fix Issue 10642 - Win64: wrong codegen comparing different sized integer...

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