Molecular gas masses of gamma-ray burst host galaxies