The spectral gap for a Glauber-type dynamics in a continuous gas