Genetic diversity in terrestrial subsurface ecosystems impacted by geological degassing