wined3d: Use the previous "dirty" status to set WINED3D_BUFFER_NOSYNC in wined3d_buff...