Mondelez International has confirmed plans to close a biscuits and crackers manufacturing plant in Canada by the end of 2017.