Fixed dead code elimination.
Fixed wrong xchg instruction encoding under x64 if one of the operand is r8-15 register.