Fix a buffer read overflow in exif_entry_get_value