Check for returned error values from libunwind.
Merge pull request #3463 from blakejohnson/backtrace-fix

Check for returned error values from libunwind in rec_backtrace