AG Barr has warned that Brexit will inflate costs next year as currency falls from the vote eventually make an impact.