Deputy shot at Gaston County gun range during training