A South Carolina firing squad has executed a man who is the third person to die by that method in the state this year.