A man who gave his son the gun he used in a deadly high school shooting in Georgia has been sentenced to 15 years in prison.