AMC apologizes for ‘Walking Dead’ spoiler