Canada”s intelligence chief warned of trouble from terror groups last year