Annealing of radiation damage in allanite and gadolinite