The transition from Harrison type-B to type-A kinetics in grain-boundary tracer diffusion