Check for returned error values from libunwind in rec_backtrace

I'm not sure that any of the problems we are seeing with the sampling profile have to do with this, but we *should* respect the returned error codes of the libunwind methods.