avoid saving OGR layer to the very same OGR layer (fixes #9221)