gallivm: don't use URem/UDiv when calculating offsets for blocks