Extend debug counters
Add path group info, and while we are at it, put the two image-related
statistics in there as well (these are the same as QCanvasPainter::
activeImageCount and activeImageMemoryUsage, the thinking being that
those functions may get dropped in next API review since they belong
to the debug counters, really)
For path groups, we show the number of known path groups, the total
(sub)paths, and the total vertex data size kept in the cache.
Pick-to: 6.11
Change-Id: Idf7d8867783118b3b53fc4aed4e74cd9b00195bc
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>