Improve the generic <string> header by adding the size() method so that
it can be used to replace the custom implementation in the
This requires fixing an incorrect comparison of a std::wstring with a
char string literal.
Unfortunately, removing the custom basic_string implementation means
fixing the line numbers for many of the checks.
Depends on D145312