Trapping of a diffusing adatom by a substitutional surface defect