Ignore ReferenceQueue.add method when running method trace test

The calls to ReferenceQueue.add depend on the timing of the GC and the
when we can detect that the references are cleared. This causes failures
as an unintended side effect. To make the test more stable ignore the
calls to these methods.

Test: art/test.py -t 22446 in gcstress
Change-Id: Idd42ad32622b7bfd3a30ec99f07d40888657c729
3 files changed