Revert "cmake: enable building without gphoto again"

This reverts commit 6d0473657a6801896c20ee1c08e27565ab2e2902.
Cleanup and add check for gphoto2 to prevent breakage at buildtime.