[PATCH v2 03/11] node_device: remove unnecessary checks in virNodeDeviceDefFormat