Cohomological Rank Functions and Syzygies of Abelian Varieties