radeonsi/gfx10: separate code for determining the number of vertices for NGG