avformat/vividas: Check that value from ffio_read_varlen() does not overflow