tls: Fix crash when internal debug enabled
When NODE_DEBUG_NATIVE is enabled for tls a debug statement is sometimes called with error_str set to null, this causes a crash from glibc since string format parameters should not be null.
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows [commit guidelines]