[x86] Fix retq/retl handling in 64-bit mode