security: selinux: Implement per-image seclabel restore
security: selinux: Implement per-image seclabel restore

Refactor the existing code to allow re-using it for the per-image label
restore too.

shugaoye/libvirt,zippy2/libvirt,agx/libvirt,olafhering/libvirt,elmarco/libvirt,jardasgit/libvirt,shugaoye/libvirt,nertpinx/libvirt,agx/libvirt,taget/libvirt,libvirt/libvirt,jfehlig/libvirt,libvirt/libvirt,elmarco/libvirt,agx/libvirt,elmarco/libvirt,crobinso/libvirt,jardasgit/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,nertpinx/libvirt,eskultety/libvirt,taget/libvirt,elmarco/libvirt,VenkatDatta/libvirt,zippy2/libvirt,andreabolognani/libvirt,datto/libvirt,agx/libvirt,fabianfreyer/libvirt,olafhering/libvirt,nertpinx/libvirt,zippy2/libvirt,shugaoye/libvirt,agx/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,olafhering/libvirt,jfehlig/libvirt,jfehlig/libvirt,crobinso/libvirt,taget/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,olafhering/libvirt,taget/libvirt,datto/libvirt,datto/libvirt,datto/libvirt,eskultety/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,rlaager/libvirt,andreabolognani/libvirt,eskultety/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,zippy2/libvirt,crobinso/libvirt,crobinso/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,nertpinx/libvirt,datto/libvirt,eskultety/libvirt,taget/libvirt,shugaoye/libvirt,rlaager/libvirt,libvirt/libvirt,rlaager/libvirt,andreabolognani/libvirt,jardasgit/libvirt,elmarco/libvirt,eskultety/libvirt,VenkatDatta/libvirt,rlaager/libvirt,VenkatDatta/libvirt,libvirt/libvirt,shugaoye/libvirt,rlaager/libvirt