Fix large values in llvm_ctpop_i32().

Large values looked like negative values, we have to do an
unsigned shift.

Fixes issue #966.
Merge pull request #974 from waywardmonkeys/fix-ctpop

Fix large values in llvm_ctpop_i32().