qemuDomainCreateDevice: Canonicalize paths
qemuDomainCreateDevice: Canonicalize paths

So far the decision whether /dev/* entry is created in the qemu
namespace is really simple: does the path starts with "/dev/"?
This can be easily fooled by providing path like the following
(for any considered device like disk, rng, chardev, ..):

  /dev/../var/lib/libvirt/images/disk.qcow2

Therefore, before making the decision the path should be
canonicalized.

Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

fabianfreyer/libvirt,eskultety/libvirt,fabianfreyer/libvirt,olafhering/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,datto/libvirt,libvirt/libvirt,nertpinx/libvirt,nertpinx/libvirt,jardasgit/libvirt,taget/libvirt,datto/libvirt,nertpinx/libvirt,zippy2/libvirt,andreabolognani/libvirt,taget/libvirt,jfehlig/libvirt,andreabolognani/libvirt,datto/libvirt,andreabolognani/libvirt,taget/libvirt,jfehlig/libvirt,crobinso/libvirt,eskultety/libvirt,VenkatDatta/libvirt,zippy2/libvirt,zippy2/libvirt,taget/libvirt,eskultety/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,crobinso/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,libvirt/libvirt,crobinso/libvirt,eskultety/libvirt,olafhering/libvirt,crobinso/libvirt,VenkatDatta/libvirt,olafhering/libvirt,libvirt/libvirt,nertpinx/libvirt,olafhering/libvirt,eskultety/libvirt,libvirt/libvirt,taget/libvirt,datto/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,zippy2/libvirt,jfehlig/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,datto/libvirt,jardasgit/libvirt,jfehlig/libvirt