radeonsi: add generic emit primitive helper