Make ClassLinker::DumpForSigQuit exclude gc

Otherwise we can get into a deadlock because we hold a critical lock
while waiting for weak reference access, thus potentially preventing
other threads from suspending properly to reenable weak reference
access.

Bug: 195261575
Test: TreeHugger
Change-Id: Ideb6199f597c4e06741c79bb2812661d88a42669
Merged-In: Ideb6199f597c4e06741c79bb2812661d88a42669
(cherry picked from commit 825e82972fe46fdb0419c42bd7df102df1989ff9)
1 file changed