[kernel][thread] Switch tls entries from uint32_t to uintptr_t

Allows storing a pointer in a tls slot on 64 bit systems.

Change-Id: I47f58e27c5625945c6aeca054eb463fd3c89ac45
2 files changed