Fix updating render stats in different render modes
Fix and unify the render stats in the different render modes.
Different render modes do not report the times the same way and some are
missing the stat calls altogether. Different render modes also report
the times differently; sometimes the prepare time is included in the
render times, while other times it is not.
Add the missing render calls and unify the reporting so that prepare and
render times are always reported separately.
Fixes: QTBUG-144277
Pick-to: 6.11 6.8
Change-Id: Ie7280ce3817c0fdb11cb7e30e8c6a5f43e3239e7
Reviewed-by: Andy Nichols <andy.nichols@qt.io>