[fedora-virt] [PATCH libguestfs] use xmalloc and xcalloc in generated code