wined3d: Replace memset/memcpy routines on stateblock (fixes dynamic shader constants...