Enable symbol visibility attributes only for non-debug targets

This will simplify the process of finding the symbols which need to be
exported and also reduce the number of exported symbols.
As a trade-off, libartd.so will not receive the size benefits of hiding
symbols.
Bug: 260881207
Test: art/test.py -b --host -r

Change-Id: I8fd391def4fc75b66c1a6dae74ff8c6076aa2d85
1 file changed