avcodec/g2meet: check tile dimensions to avoid integer overflow