Add a missing forward declaration. Fixes Jira #ROOT-5295