Fixing buffer size for JPEGs with large exif

Fixes #148