[Libvir] handle PyTuple_New's malloc failure