[compiler-rt] Address dlvsym not found compilation error when targeting certain platforms (#191444)
#191098 Add some unguarded dlvsym calls. This causes build issues when
targeting certain platforms such as iOS.
This change should restore the original behavior.