Unlock in the __glXFetchDispatchEntry() failure path.

Signed-off-by: Andy Ritger <aritger@nvidia.com>
Check strdup(3) return value in AllocDispatchIndex()

Signed-off-by: Andy Ritger <aritger@nvidia.com>
Link libtrace.la *after* libglvnd_pthread.la

Debug builds of libglvnd_pthread.la depend on the __glvnd_dbg_printf
symbol from libtrace.la.  Sort the link order so that the linker sees
libglvnd_pthread.la and its unresolved symbol first, so that it knows
to resolve it when it subsequently sees libtrace.la.

Signed-off-by: Andy Ritger <aritger@nvidia.com>
Check for strdup(3) failure in cacheProcAddress()

Signed-off-by: Andy Ritger <aritger@nvidia.com>