[Freesurfer] Segfault errors in tkmedit and tksurfer