[libvirt] [PATCH v3 4/5] virpcimock.c: simplify getrealpath() usage