[libvirt] [PATCHv2 3/6] interface: Refactor interface vlan to helper func