[PATCH v2] libxl: adjust handling of libxl_device_nic objects