Henri Verbeet : wined3d: Use the global memory allocation helpers.