Linklaters' Peter Gray set for retirement