[memory provider] Don't crash on updateExtent and feature without geometry
const-correctness for QgsGeometry
QgsVectorLayerFeatureIterator: Don't worry about concurrent edits
QgsGeometry::asWkb() and QgsGeometry::asGeos() return const pointers