gallium: Add a pipe cap for whether primitive restart works for patches.