Crystal-field anisotropy of Tb, Ho and Tm in gadolinium