Copy global_cell instead of casting.

By doing this there will be no lifetime interference between the
adapted CpGrid and the stored UnstructuredGrid.