Gerbes and abelian motives