Scroll pump having pockets formed in an axial end face of a scroll wall