getAsStringInternal() appends; clear result before.
Update the fix to v5 template argument name to support const and pointers

Support for collection<const NameMissingScope*>
(fix stressRooFit and ROOT-6282)