perf intel-pt: Fix next 'err' value, walking trace