wined3d: Make sure volumes have memory allocated.