[PATCH v4] libxl: adjust handling of libxl_device_nic objects