libstdc++: Improve testing for path::operator+=(const string&)