Fix carry bit handling in the compare opcodes.