Allow debug build without release build of dependencies

CMake currently refuses to make a debug build of osgearth if a debug build of osg is present but a release build is not. The reason is that both the debug and release versions of the dependencies are marked as dependencies when the debug library was found. The proposed change removes the dependency on the release library if only the debug library was found.