Fix large values in llvm_ctpop_i32().

Large values looked like negative values, we have to do an
unsigned shift.

Fixes issue #966.