x86: fix iret exception recovery on 64-bit