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