Workaround for libgphoto2 API breakage in 2.5.0. Fixes red hat bug #892228.

Thanks to jpopelka for debugging and proposed patch. :-)

Signed-off-by: Christian Tellefsen <chris-git@tellefsen.net>