only consider the crs of layers with geometry for automatically setting of project crs and otfr (fixes #10510)