[memory provider] Don't crash on updateExtent and feature without geometry