gallivm: checkpoint: texture LOD computation code gen