enc_qsv: simplify encqsvWork.