Add function to prevent crash due to lack of GEMGeometry.
If GEMGeometry is null pointer, sub functions will not be works.
(Look at plugin/MuonGEMDigis.cc and MuonGEMHits.cc)