Backport of "codecparsers: h264parser: guard against ref_pic_markings overflow" into 1.16
Backport of !1703 (merged) "codecparsers: h264parser: guard against ref_pic_markings overflow".
Commits:
- abeb1507 codecparsers: h264parser: guard against ref_pic_markings overflow