Some Image instances don't have a ._getexif() method

Treat both TypeError and AttributeError the same when trying to access ```Image._getexif```, namely as the image lacking EXIF data.