Robust to Exif blocks with corrupted GPS data.

Fixes #1008 

LG posted, but it's the fix proposed by @YangYangTL in #1008