avcodec/h264_parser: Reduce needed history for parsing mb index