error_exit from libjpeg without exit