gallium/radeon: avoid redundant work with overlapping in/out arrays