Fix a bug where NameError#name returns a qualified name in string

Ruby's original behaviour is that :

  * It only returns a const name, not a qualified aname
  * It returns a symbol, not a string
Merge pull request #15902 from yuki24/fix-name-error-bug

Fix a bug where NameError#name returns a qualified name in string