More const-correctness for QgsGeometry