Fix issue 12968 - Incorrect codgen for xchg with R8
Merge pull request #3690 from Orvid/issue12968

Fix issue 12968 - incorrect codegen