[DF-3965] small refactoring of LibJpegWrapper::ReadJpegFile()