[PATCH v5 03/12] node_device: remove unnecessary checks in virNodeDeviceDefFormat