TableGen: don't save a StringRef to a local std::string.

This caused a failure in some Windows builds.