Remove listeners installed for tracing  when there is an overflow

In non-streaming method tracing we no longer record methods when there
is an overflow. So remove listeners that were installed to get trace
events.

Bug: 259258187, 329498538
Test: art/test.py --trace
Change-Id: If5b13c041b674a277b77fbf5c3f66372dc06a875
2 files changed