Fix some of the linking warnings in CMake builds

Bug: None
Change-Id: I6e627f362b4fd6ee21822587da87fbf36f599432
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/90246
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 183fb5e..7a5bd6d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -172,6 +172,7 @@
     target_compile_options(${TARGET} PRIVATE
       -fno-exceptions
       -fno-rtti
+      -fvisibility-inlines-hidden
     )
 
     if (${DAWN_ENABLE_MSAN})