applypatch: use the new git-apply to apply patches