harden up addNewImage() for 3rd party plugins that aren't passing the image object correctly for NGG v2

git-svn-id: https://plugins.svn.wordpress.org/nextgen-gallery-voting/trunk@769709 b8457f37-d9ea-0310-8a92-e5e31aec5664