tu: disable gmem in primary cmdbuffer if secondary has it disabled
If secondary command buffer is emitted within a subpass it may have barriers which forces us to disable gmem for current renderpass.
Fixes: 20547a11 "tu: delay decision of forcing sysmem due to subpass self-dependencies"