perf/x86/intel/pt: Fix and clean up error handling in pt_event_add()