[PATCH 3.18 109/185] sh: fix debug trap failure to process signals before return to user