[PATCH 01/11] wineandroid: Use pthread for locking in opengl.c.