Prevent crash while browsing TFormula in ROOT files (fix Jira issue #ROOT-6922)