Stefan Dösinger : wined3d: Move location flag updating out of surface_init_sysmem.