wined3d: Get rid of wined3d_buffer_get_type().