gphoto2: revert to 2.5.1

2.5.2 currently won't build on Tiger. See:
https://sourceforge.net/p/gphoto/bugs/935/?page=1

This reverts commit 618bd85f5c6357509c4234c4bce816320aea5f60.