Check to see if photoData exists before using

Fix for the following issue:

https://issues.apache.org/jira/browse/CB-5698?filter=-2

Crash when accessing a corrupt image. This crash occurs when ABPersonHasImageData() returns true while ABPersonCopyImageData() returns nil.