[Encoder] fix idr_id: idr_id should be adding regardless of the sps strategy

https://rbcommons.com/s/OpenH264/r/980/