avcodec/h264_sei: Try to make code more robust by jumping to the specified SEI ends