CGI exiting low-margin markets, eyes M&A in cyber security