freedreno: Move a6xx's setup_slices() to a shareable helper function.