Add visibility attributes in runtime/gc/space

Bug: 260881207
Test: presubmit
Test: abtd app_compat_drm
Test: abtd app_compat_top_100
Test: abtd app_compat_banking
Change-Id: I30e2cc4d0da339711dbbba26f5d140be84b4121a
35 files changed