* Fix undefined shifts Found by oss-fuzz uint8_t gets promoted to integer and integers shift cannot overflow on sign bit * Fix undefined shifts shifting 31 bits the sign bit