Remove unused includes from `absl/hash/hash.h` and `absl/hash/internal/hash.h`, and remove corresponding unused dependencies from `BUILD` and `CMakeLists.txt`.

PiperOrigin-RevId: 964428641
Change-Id: Iafb4e4c7dcce893fc0411f7863753fab7685ac28
diff --git a/absl/hash/BUILD.bazel b/absl/hash/BUILD.bazel
index f24ef6c..9f12e9a 100644
--- a/absl/hash/BUILD.bazel
+++ b/absl/hash/BUILD.bazel
@@ -58,6 +58,9 @@
         "//absl/numeric:bits",
         "//absl/numeric:int128",
         "//absl/strings",
+        "//absl/types:optional",
+        "//absl/types:variant",
+        "//absl/utility",
     ],
 )
 
diff --git a/absl/hash/CMakeLists.txt b/absl/hash/CMakeLists.txt
index 594445b..c593a5b 100644
--- a/absl/hash/CMakeLists.txt
+++ b/absl/hash/CMakeLists.txt
@@ -32,10 +32,12 @@
     absl::endian
     absl::fixed_array
     absl::function_ref
-    absl::int128
     absl::meta
-    absl::prefetch
+    absl::int128
     absl::strings
+    absl::optional
+    absl::variant
+    absl::utility
     absl::weakly_mixed_integer
   PUBLIC
 )
diff --git a/absl/hash/hash.h b/absl/hash/hash.h
index b7a9978..7a76771 100644
--- a/absl/hash/hash.h
+++ b/absl/hash/hash.h
@@ -88,6 +88,7 @@
 #include "absl/functional/function_ref.h"
 #include "absl/hash/internal/hash.h"
 #include "absl/hash/internal/weakly_mixed_integer.h"
+#include "absl/meta/type_traits.h"
 
 namespace absl {
 ABSL_NAMESPACE_BEGIN
diff --git a/absl/hash/internal/hash.h b/absl/hash/internal/hash.h
index 1c6bf75..9463746 100644
--- a/absl/hash/internal/hash.h
+++ b/absl/hash/internal/hash.h
@@ -80,12 +80,17 @@
 #include "absl/base/internal/unaligned_access.h"
 #include "absl/base/optimization.h"
 #include "absl/base/options.h"
+#include "absl/base/port.h"
 #include "absl/container/fixed_array.h"
+#include "absl/hash/internal/city.h"
 #include "absl/hash/internal/weakly_mixed_integer.h"
 #include "absl/meta/type_traits.h"
 #include "absl/numeric/bits.h"
 #include "absl/numeric/int128.h"
 #include "absl/strings/string_view.h"
+#include "absl/types/optional.h"
+#include "absl/types/variant.h"
+#include "absl/utility/utility.h"
 
 #if defined(__cpp_lib_filesystem) && __cpp_lib_filesystem >= 201703L && \
     !defined(__XTENSA__)