gitapply.sh: Fix patching issues on Gentoo.