fix deprecation annotation of QgsMapRenderer::mapRenderer
fix warnings