The head of the Bank of Canada warned that higher oil costs will be passed on to consumers as the economy holds up better than officials expected.