[libvirt] [PATCH 1/4] util: Check for empty allocation instead of just NULL pointer