x86: entry_64.S: split out some macro's and move common code to paranoid_exit