libcom_err: Use thread local storage to fix reentrancy problems

Address the theoretical problem of two threads trying to format a
different unknown error code by using TLS.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
1 file changed