fix step out/over being wonky with multiple CPUs

(and not checking which one is actually being debugged when updating the
call counter, among other things)