Support string locations for C++ in -Wformat (PR c++/56856)