lxc: Don't accidentaly reset autostart flag in virLXCProcessCleanup
lxc: Don't accidentaly reset autostart flag in virLXCProcessCleanup

virDomainDeleteConfig is meant to delete the persistent config and thus
it resets vm->autostart. Copy parts of qemuProcessRemoveDomainStatus to
a new helper to avoid using the incorrect function.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1230071

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