[libvirt PATCH 01/21] tests: Use glib memory functions in virpcimock.c