Add some missing stubs to threadman.
Give ThreadManForUser_8DAFF657 and friends a name.

Calling allocate on the same thread gives the same ptr, but on a different
one it waits or returns a new ptr.

Let's call it thread local storage for now.
Savestate the sdkver and compiler version.

Oops, should've caught this before.
Basically working implementation of TLS funcs.

But doesn't wait at all, which it should.
Merge pull request #1286 from unknownbrackets/tls-object

Basic support for the new TLS object functions