Adds a new dynamorio_static_nohide library which is only built when tests are built. It is used for sanity checks on global symbol names for better interoperability with toolchains where objcopy --localize-hidden is a pain point.
Renames core/CMake_globalize_pic_thunks.cmake to core/CMake_finalize_static_lib.cmake to better reflect the multiple steps it is taking beyond just the thunks.
Adds a new test api.static_symbols of linking dynamorio_static_nohide.
Adds a new post-build step that runs a new script CMake_symbol_check.cmake which looks for likely-to-conflict symbols in dynamorio_static_nohide.
Issue: #3348