Handle SIGPIPE gracefully in logcat

logcat's output is sometimes redirected into a socket (ex: bugreport).
If that socket is then closed, logcat gets a SIGPIPE and crashes,
resulting in a tombstone.  Since this is a normal case, a tombstone is
not warranted.  It should just exit gracefully instead.

Change-Id: Ic2d2eca035f4b8a22778763d81932a064aeef5a5
Reviewed-on: http://gerrit.pcs.mot.com/536586
SLT-Approved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>