Check frame IDs for reference and "show_existing" frames
Bitstream conformance requires to check that decoded reference frame IDs match frame IDs from reference buffer if frame IDs are provided. If there is a mismatch in reference frames IDs, parse_frame_hdr will return an error.