[ProfileData] Restore Core as a dependency for the ProfileData library (#140650)

#140505 dropped the dependency on core but it's still needed as indicated by the failing dynamically linked builds.
diff --git a/llvm/lib/ProfileData/CMakeLists.txt b/llvm/lib/ProfileData/CMakeLists.txt
index de60a65..ca9ea32 100644
--- a/llvm/lib/ProfileData/CMakeLists.txt
+++ b/llvm/lib/ProfileData/CMakeLists.txt
@@ -26,6 +26,7 @@
 
   LINK_COMPONENTS
   BitstreamReader
+  Core
   Object
   Support
   Demangle