lib: Make sid_linearize take a uint8_t