pagesegmode_test.cc: Disable some code for disable legacy build (#3626)
pagesegmode_test.cc: Disable some code for disable legacy build (#3626)

Co-authored-by: Shree Devi Kumar <def037191c7807e73a427ea8013377b49613ea60@users.noreply.github.com>
Co-authored-by: Stefan Weil <8d4c780fcfdc41841e5070f4c43da8958ba6aec0@weilnetz.de>
tesseract-ocr/tesseract,amitdo/tesseract,UB-Mannheim/tesseract,stweil/tesseract,tesseract-ocr/tesseract,UB-Mannheim/tesseract,stweil/tesseract,stweil/tesseract,UB-Mannheim/tesseract,amitdo/tesseract,amitdo/tesseract,amitdo/tesseract,tesseract-ocr/tesseract,amitdo/tesseract,UB-Mannheim/tesseract,stweil/tesseract,tesseract-ocr/tesseract,UB-Mannheim/tesseract,stweil/tesseract,tesseract-ocr/tesseract