Iraq warned of attacks before Paris assault