bitvec: Fix interface to consistently use unsigned int

Use unsigned int for the length throughout the interface. We will
never have a a negative length.

Sponsored-by: On-Waves ehf
2 files changed