[PATCH 4/5] wined3d: Reorder light application in wined3d_device_apply_stateblock().