In D63978, tests were added which expect that the default visibility is
maintained without an explicit option.
In at least one case, a downstream toolchain had the default
visibility set to 'hidden', which causes these tests to fail.
To avoid such assumptions, we can explicitly pass
-fvisibility=default to the tests that make this assumption.