The Swedish cartoonist at the center of the first attack in Copenhagen had previously been the target of an assassination plot.