Radiation hardness of ultrabroadband spintronic terahertz emitters: En-route to a space-qualified terahertz time-domain gas spectrometer