codegen: fix integer binary operations