patch.sh: Fix git am error exit condition

The exit should be conditional on `git am` failing, not on the `echo`
failing.  If `echo` is failing, you've got bigger problems.

Signed-off-by: Andrew Bradford <andrew@bradfordembedded.com>