Use TLS (thread-local storage) for glhck context pointer
Also cleanup that weird _glhck_c_ wizardy