closes #154331 This PR addresses all minimum changes needed to compile LLVM and MLIR with the c++23 standard. It is a work in progress and to be reviewed for better methods of handling the parts of the build broken by c++23.
Renaming based on suggestion here: https://github.com/llvm/llvm-project/pull/139686#discussion_r2089538528