Proper decoding of uleb128 values