[libc++] [docs] Mark P1865 as complete since 11.0 as it was implemented together with P1135. Fix synopses in <barrier> and <latch>.

It was implemented in commit 54fa9ecd3088508b05b0c5b5cb52da8a3c188655 ([libc++] Implementation of C++20's P1135R6 for libcxx).

GitOrigin-RevId: e2279c2350b83650a858a541ff566eccd69d38ef
diff --git a/include/barrier b/include/barrier
index ba9e8ea..be213a6 100644
--- a/include/barrier
+++ b/include/barrier
@@ -22,6 +22,8 @@
   public:
     using arrival_token = see below;
 
+    static constexpr ptrdiff_t max() noexcept;
+
     constexpr explicit barrier(ptrdiff_t phase_count,
                                CompletionFunction f = CompletionFunction());
     ~barrier();