[PATCH v3 4/8] opengl32: Generate args loading / locking for wrapped functions.