Fix macOS build after enabling Generational CC by default in ART.

Address link-time failures when building libartd on macOS after
turning on Generational CC collection by default in ART.

Test: mmma art (on macOS and Linux)
Bug: 67628039
Change-Id: Id464459a8ce0d7276755750cf4c10feb54009704
2 files changed