Move the git find_package call to where it's used
Prevents getting a misleading "Could not find Git" cmake warning with no explanation whatsoever of what it's needed for when compiling projects
that depend on kirigami.
Differential Review: https://phabricator.kde.org/D8219