OCRmyPDF.sh: fix error exit not exiting

Fixes an error that lead the script not to exit correctly in case more
than 1 image is detected on a page