cmake: Corrected setting of C++ language standard See merge request espressif/esp-idf!23520
* reverted old faulty mechanism to set different standard according to the toolchain * Using -std=gnu++2b now for both gcc and clang * Added a build test app to check the C++ standard in IDF * Updated english docs to reflect the change to C++23