HEAVY ELEMENTS IN GLOBULAR CLUSTERS: THE ROLE OF ASYMPTOTIC GIANT BRANCH STARS