wgl: Put the core functionality of X11DRV_SetPixelFormat in a separate function. This is needed for a new X11DRV_SetPixelFormatWINE function which allows you to change the pixel format multiple times.