gallivm: Fast implementation of iround(log2(x))