Vanishing of the chiral anomaly for an antisymmetric tensor field