Make integer bit count methods return uints

Fixes rust-lang/rfcs#224