Merge branch 'suppress-nodiscard-run2' into 'run2-patches'

Extend the unknown-attributes warning workaround to ROOT 6.24

See merge request !958
2 jobs for run2-patches in 38 seconds (queued for 1 second)