enc_qsv: cleanup encqsvClose.

Remove some pointless NULL checks and simplify.