tgsi: properly parse indirect dimension references (e.g. for UBOs)