thread: Avoid compiler warnings on Solaris. * lib/glthread/thread.h: Include <stdint.h>. (gl_thread_self_pointer): Do the cast from pthread_t to 'void *' via intptr_t. * modules/thread (Depends-on): Add stdint.