vhost: correctly check the return value of translate_desc() in log_used()