Common: Don't return a reference to a string when calling GetName in symbols.cpp

Returning a copy of the string is what was likely meant to be done.