[Encoder] add one more condition for statistics printing to avoid potential timestamp problem

being review at: https://rbcommons.com/s/OpenH264/r/933/