OCRmyPDF.sh: fixes #27

The fix should now be compatible to most implementation of grep