Remove devicePixelRatio() function from the public API for now
It is not just unused, but also broken since it only ever returns
a non-default value when using QCanvasPainterItem. The Widget for
example does not communicate any dpr value to the painter. (more
precisely, it does, to the engine and renderer, but that's a different
value, not QCanvasPainter's m_devicePixelRatio)
The actual dpr value is in the renderer (rhiCtx.dpr). The painter
object's m_devicePixelRatio is not actually used for anything.
Pick-to: 6.12
Change-Id: Ib7106ad4db82c754df6389a1613c08f7d133dfc1
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>