National security adviser says Washington will target International Criminal Court if it probes alleged US war crimes.