Fix libartbenchmark dependencies

ThinLTO is better at pruning unnecessary symbols. libartbenchmark uses
symbols from libartbase, it cannot get it from libart under global
ThinLTO.

ld.lld: error: undefined symbol: art::MemMap::~MemMap()
>>> referenced by space.h:376 (art/runtime/gc/space/space.h:376)
>>> lto.tmp:(art::gc::space::ContinuousMemMapAllocSpace::~ContinuousMemMapAllocSpace())
>>> referenced by space.h:376 (art/runtime/gc/space/space.h:376)
>>> lto.tmp:(non-virtual thunk to art::gc::space::ContinuousMemMapAllocSpace::~ContinuousMemMapAllocSpace())
>>> referenced by space.h:376 (art/runtime/gc/space/space.h:376)
>>> lto.tmp:(art::gc::space::MemMapSpace::~MemMapSpace())

Bug: 242974292
Test: m libartbenchmark
Change-Id: Ida4fd97b137c6dc1ef43f592c73cb13155d5e09d
1 file changed