gallivm: add indirect texture switch statement builder.