[libsanitizer] Add register dumping support to SuspendedThreadsList.

An interface for obtaining register contexts from suspended threads. Tailored
for LSan use.

Patch by Sergey Matveev (earthdok@google.com)