gar/v2: make sure mgar stops when a patch failed to apply

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@21487 d3b55034-1cff-0310-a425-aefe953e1e90