Quenching of metastable antiprotonic helium atoms in collisions with deuterium molecules