Ex-NZ coach to mentor Bulldogs' Barrett