enc_qsv: factor out and simplify setting the init_delay.

Also improve fallback when the computed delay is less than 1.