Kurd in N.Y. trial denies links to terrorism