vlib: fix error when creating avf interface on SMP system