gallivm: simplify sampler interface