x86: fix bug in 'if' coding