vnc: fix uint8_t comparisons with negative values