vhost: fix double read of descriptor flags