v3dv: don't leak attachment state