libvirt.test: Skip test if option isn't supported

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #258 from liyangfnst/attach_device_skip

libvirt.test: Skip test if option isn't supported