Save a ref to the desched'd syscall record before we reset the counter, and record the right scratch pointer.