Discriminant loci of varieties with smooth normalization