[PATCH v2 1/4] wined3d: Move wined3d_device_apply_stateblock() to stateblock.c