GLdispatch: Fix the x86 TLS stubs.
Created by: kbrenneman
This is a fix for issue #18 (closed), where the TLS stubs are broken for x86. It also brings the code up to date with the rest of libGLdispatch and makes it use the same common functions as the other x86 and x86-64 stubs.