Thin H$_2$-dominated Atmospheres as Signposts of Magmatic Outgassing on Tidally-Heated Terrestrial Exoplanets