lib: rb: Use types that indicate size and signedness

Fixes violations related with essential type model.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2 files changed