libstdc++: Avoid overflow when appending to std::filesystem::path