d3d11: Use wined3d_resource_{map, unmap}() instead of wined3d_texture_{map, unmap}().