configure: Use the pkg-config helper macro for gphoto2.