QSvgNode: fix applyXToBuffer() QImage argument passing
Neither function consumes the QImage passed as the second argument,
they both are merely wrappers around QPainter::drawImage(), which
doesn't, either. So there's no reason to pass the QImage by value
here, so pass by cref instead.
Found while investigating Coverity COPY_INSTEAD_OF_MOVE reports around
callers of these functions.
Amends 29b848e9ac4e4e13c5b50116a81b1f2677196939 (6.7).
Pick-to: 6.11 6.8
Coverity-Id: 432968
Coverity-Id: 432816
Change-Id: I7acc3e6004c892ff481d7dca0fcf67ca197ca65c
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>