r300g: adapt to the resource_resolve interface change