Backport of "codecparsers: {h264, h265}bitwriter: Remove redundant condition checks" into 1.22
Backport of !3967 (merged) "codecparsers: {h264, h265}bitwriter: Remove redundant condition checks".
Commits:
- 585d2d93 codecparsers: {h264,h265}bitwriter: Remove redundant condition checks