mesa: Move struct _glapi_table allocation out of context.c