[libc++] Add std::hash<char8_t> specialization if char8_t is enabled

Differential Revision: https://reviews.llvm.org/D92325

GitOrigin-RevId: b526d8761895643cb42e62997240344420d65e0f
diff --git a/include/functional b/include/functional
index 22c73c5..ffcff35 100644
--- a/include/functional
+++ b/include/functional
@@ -470,6 +470,7 @@
 template <> struct hash<char>;
 template <> struct hash<signed char>;
 template <> struct hash<unsigned char>;
+template <> struct hash<char8_t>; // since C++20
 template <> struct hash<char16_t>;
 template <> struct hash<char32_t>;
 template <> struct hash<wchar_t>;