Process libjpeg errors the OpenCV way