[PATCH 6.17 322/563] misc: genwqe: Fix incorrect cmd field being reported in error