Far-infrared observations of an unbiased sample of gamma-ray burst host galaxies