Bug 1033358 - Fix linking of the AVOID_NSPR build - r=bsmedberg
Bug 1033358 - Make NS_IsMainThread use its own TLS so it's always correct, from early init to exit time - r=bsmedberg