wined3d: Remove COM from the buffer implementation.