[jpegio] use chunked reading in case the filesize isn't available on Open()
Merge pull request #1885 from jmarshallnz/chunky_jpegs

[jpegio] Use chunked reading if CFile::Open doesn't set CFile::GetFileSize