[PATCH v1 21/21] coresight: perf: clean up perf event on device unregister path