The chairman of AG Barr has confirmed his intention to stand down later this year.