It's useful to be able to disable visibility annotations entirely; for
example, if we're building libunwind static to include in another library,
and we don't want any libunwind functions getting exported out of that
library.
A macro to indicate static builds might make more sense, but for now
we want to be consistent with libc++/libc++abi. Reevaluate in the
future.
If the intent is to prevent the symbols from being exported, then hidden visibility is still desirable. I think that having something like a check for a static build makes more sense rather than just disabling the visibility annotations.