[libvirt] [PATCH] util: portably check for unchanged uid