libvirt_xml.vm_xml: Adjust add_hostdev for Hostdev enhancements.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Merge pull request #1850 from yumingfei/fix_hostdev

libvirt_xml.vm_xml: Adjust add_hostdev for Hostdev enhancements.