Replace undefined shift operations by multiplications
Replace undefined shift operations by multiplications

Shift operations are undefined for negative numbers, but at least on
Intel they return the same value as a multiplication with 2 ^ shift value.

This fixes runtime errors reported by sanitizers and OSS-Fuzz:

    intmatcher.cpp:821:59: runtime error: left shift of negative value -14
    intmatcher.cpp:823:75: runtime error: left shift of negative value -512
    intmatcher.cpp:820:50: runtime error: left shift of negative value -80

See issue #2297 and
https://oss-fuzz.com/testcase-detail/4845195990925312 for details.

Signed-off-by: Stefan Weil <8d4c780fcfdc41841e5070f4c43da8958ba6aec0@weilnetz.de>

stweil/tesseract,tesseract-ocr/tesseract,tesseract-ocr/tesseract,tesseract-ocr/tesseract,stweil/tesseract,jbarlow83/tesseract,jbarlow83/tesseract,amitdo/tesseract,UB-Mannheim/tesseract,jbarlow83/tesseract,jbarlow83/tesseract,stweil/tesseract,tesseract-ocr/tesseract,amitdo/tesseract,amitdo/tesseract,UB-Mannheim/tesseract,UB-Mannheim/tesseract,amitdo/tesseract,tesseract-ocr/tesseract,amitdo/tesseract,stweil/tesseract,stweil/tesseract,UB-Mannheim/tesseract,jbarlow83/tesseract,UB-Mannheim/tesseract