x86: use regparm(3) for passed-in pt_regs pointer