Vibrational excitations at defect sites in amorphous tetrahedral and pnictide semiconductors