[LocalToGlobalAdaptor] Don't store references to geometries

Geometries have value semantics now, so it's a bad idea to store a const
reference in a member variable.

Replaced with a copy. This fixes a longstanding test failure in PDELab.