[libc++] Implement P3798R1: The unexpected in `std::expected` (#219236)

Closes https://github.com/llvm/llvm-project/issues/204394
Re-application of https://github.com/llvm/llvm-project/pull/204826
(45a65bb48b5925707f43d08e30df2263a5e4e268)

Implements P3798R1 and related tests.

GitOrigin-RevId: 823efd84c5be6eb3b5585caea3b80b9403a1ce1b
11 files changed