r600: fix up ordering of functions in draw prims path