x86/entry: Move SYSENTER's regs->sp and regs->flags fixups into C