[PATCH v5 3/6] wined3d: Move fullscreen window setup/restore to new struct and functions.