[SPARK-26799][BUILD] Make ANTLR v4 version consistent between Maven and SBT
[SPARK-26799][BUILD] Make ANTLR v4 version consistent between Maven and SBT

## What changes were proposed in this pull request?
Currently ANTLR v4 versions used by Maven and SBT are slightly different. Maven uses `4.7.1` while SBT uses `4.7`.

* Maven(`pom.xml`): `<antlr4.version>4.7.1</antlr4.version>`
* SBT(`project/SparkBuild.scala`): `antlr4Version in Antlr4 := "4.7"`

We should make Maven and SBT use a single version. Furthermore we'd better specify antlr4 version in one place to avoid mismatch between Maven and SBT in the future.

This PR lets SBT use antlr4 version specified in Maven POM file, rather than specify its own antlr4 version. This is in the same as how `hadoop.version` is specified in `project/SparkBuild.scala`

## How was this patch tested?
Test locally.

After run `sbt compile`, Java files generated by ANTLR are located at:

```
sql/catalyst/target/scala-2.12/src_managed/main/antlr4/org/apache/spark/sql/catalyst/parser/*.java
```

These Java files have a comment at the head. We can see now SBT uses ANTLR `4.7.1`.

```
// Generated from .../spark/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 by ANTLR 4.7.1
```

Closes #23713 from seancxmao/antlr4-version-consistent.

Authored-by: seancxmao <aabe2b501527b17916c669fb65a0f08630e3c90a@gmail.com>
Signed-off-by: gatorsmile <905db6c57c9ba2de5402239d136139da9b5d0058@gmail.com>

dongjoon-hyun/spark,gengliangwang/spark,vinodkc/spark,milliman/spark,shuangshuangwang/spark,BryanCutler/spark,ConeyLiu/spark,Aegeaner/spark,pgandhi999/spark,rezasafi/spark,WeichenXu123/spark,holdenk/spark,shuangshuangwang/spark,witgo/spark,jiangxb1987/spark,gengliangwang/spark,holdenk/spark,WeichenXu123/spark,LantaoJin/spark,zzcclp/spark,LantaoJin/spark,chuckchen/spark,chuckchen/spark,jkbradley/spark,chuckchen/spark,kevinyu98/spark,ptkool/spark,dongjoon-hyun/spark,milliman/spark,highfei2011/spark,kevinyu98/spark,holdenk/spark,wzhfy/spark,Aegeaner/spark,caneGuy/spark,goldmedal/spark,Aegeaner/spark,zzcclp/spark,WeichenXu123/spark,Aegeaner/spark,icexelloss/spark,actuaryzhang/spark,jkbradley/spark,spark-test/spark,rezasafi/spark,wzhfy/spark,highfei2011/spark,icexelloss/spark,vinodkc/spark,pgandhi999/spark,skonto/spark,goldmedal/spark,rednaxelafx/apache-spark,apache/spark,srowen/spark,WindCanDie/spark,jiangxb1987/spark,goldmedal/spark,skonto/spark,rezasafi/spark,ueshin/apache-spark,wangyum/spark,wangyum/spark,maropu/spark,xuanyuanking/spark,JoshRosen/spark,shuangshuangwang/spark,caneGuy/spark,WindCanDie/spark,dongjoon-hyun/spark,apache/spark,mahak/spark,actuaryzhang/spark,cloud-fan/spark,shaneknapp/spark,taroplus/spark,srowen/spark,LantaoJin/spark,wangmiao1981/spark,taroplus/spark,highfei2011/spark,kiszk/spark,shuangshuangwang/spark,rednaxelafx/apache-spark,wzhfy/spark,hvanhovell/spark,milliman/spark,highfei2011/spark,apache/spark,zuotingbing/spark,skonto/spark,Aegeaner/spark,caneGuy/spark,jkbradley/spark,Aegeaner/spark,jkbradley/spark,xuanyuanking/spark,bdrillard/spark,yanboliang/spark,wangmiao1981/spark,caneGuy/spark,ConeyLiu/spark,rezasafi/spark,wangyum/spark,kevinyu98/spark,cloud-fan/spark,darionyaphet/spark,techaddict/spark,wangmiao1981/spark,darionyaphet/spark,yanboliang/spark,jiangxb1987/spark,HyukjinKwon/spark,goldmedal/spark,WindCanDie/spark,rednaxelafx/apache-spark,milliman/spark,icexelloss/spark,wzhfy/spark,icexelloss/spark,hvanhovell/spark,dbtsai/spark,techaddict/spark,maropu/spark,dbtsai/spark,zzcclp/spark,zero323/spark,dbtsai/spark,witgo/spark,witgo/spark,bdrillard/spark,jiangxb1987/spark,bdrillard/spark,zero323/spark,darionyaphet/spark,witgo/spark,chuckchen/spark,ptkool/spark,shaneknapp/spark,icexelloss/spark,nchammas/spark,zzcclp/spark,actuaryzhang/spark,zuotingbing/spark,highfei2011/spark,WindCanDie/spark,kiszk/spark,dongjoon-hyun/spark,skonto/spark,BryanCutler/spark,shaneknapp/spark,wzhfy/spark,dongjoon-hyun/spark,srowen/spark,goldmedal/spark,jkbradley/spark,zero323/spark,cloud-fan/spark,BryanCutler/spark,xuanyuanking/spark,ptkool/spark,Aegeaner/spark,holdenk/spark,WindCanDie/spark,aosagie/spark,shaneknapp/spark,nchammas/spark,mahak/spark,mahak/spark,skonto/spark,wangyum/spark,darionyaphet/spark,zzcclp/spark,ConeyLiu/spark,jkbradley/spark,dbtsai/spark,goldmedal/spark,shuangshuangwang/spark,kiszk/spark,wangyum/spark,darionyaphet/spark,ConeyLiu/spark,spark-test/spark,maropu/spark,bdrillard/spark,ueshin/apache-spark,aosagie/spark,wangmiao1981/spark,kiszk/spark,aosagie/spark,shaneknapp/spark,mahak/spark,yanboliang/spark,caneGuy/spark,xuanyuanking/spark,WeichenXu123/spark,highfei2011/spark,maropu/spark,icexelloss/spark,yanboliang/spark,spark-test/spark,darionyaphet/spark,yanboliang/spark,vinodkc/spark,caneGuy/spark,rednaxelafx/apache-spark,srowen/spark,gengliangwang/spark,spark-test/spark,highfei2011/spark,BryanCutler/spark,taroplus/spark,BryanCutler/spark,WeichenXu123/spark,ptkool/spark,shaneknapp/spark,zuotingbing/spark,ConeyLiu/spark,zuotingbing/spark,mahak/spark,gengliangwang/spark,dbtsai/spark,ueshin/apache-spark,dongjoon-hyun/spark,skonto/spark,taroplus/spark,gengliangwang/spark,pgandhi999/spark,rezasafi/spark,zuotingbing/spark,taroplus/spark,hvanhovell/spark,BryanCutler/spark,spark-test/spark,shuangshuangwang/spark,maropu/spark,matthewfranglen/spark,vinodkc/spark,wangyum/spark,xuanyuanking/spark,JoshRosen/spark,pgandhi999/spark,caneGuy/spark,chuckchen/spark,witgo/spark,mahak/spark,zuotingbing/spark,taroplus/spark,rednaxelafx/apache-spark,bdrillard/spark,WeichenXu123/spark,JoshRosen/spark,jkbradley/spark,nchammas/spark,wangyum/spark,gengliangwang/spark,actuaryzhang/spark,zzcclp/spark,ptkool/spark,milliman/spark,taroplus/spark,hvanhovell/spark,jiangxb1987/spark,yanboliang/spark,chuckchen/spark,mahak/spark,wangmiao1981/spark,actuaryzhang/spark,wzhfy/spark,goldmedal/spark,wzhfy/spark,maropu/spark,kiszk/spark,nchammas/spark,JoshRosen/spark,ueshin/apache-spark,zzcclp/spark,nchammas/spark,ptkool/spark,ueshin/apache-spark,JoshRosen/spark,skonto/spark,shuangshuangwang/spark,wangmiao1981/spark,vinodkc/spark,ueshin/apache-spark,JoshRosen/spark,cloud-fan/spark,pgandhi999/spark,spark-test/spark,icexelloss/spark,apache/spark,cloud-fan/spark,dbtsai/spark,jiangxb1987/spark,apache/spark,bdrillard/spark,xuanyuanking/spark,srowen/spark,nchammas/spark,holdenk/spark,kevinyu98/spark,ConeyLiu/spark,aosagie/spark,dongjoon-hyun/spark,HyukjinKwon/spark,wangmiao1981/spark,HyukjinKwon/spark,nchammas/spark,ConeyLiu/spark,yanboliang/spark,LantaoJin/spark,shaneknapp/spark,srowen/spark,hvanhovell/spark,LantaoJin/spark,HyukjinKwon/spark,srowen/spark,apache/spark,pgandhi999/spark,WindCanDie/spark,hvanhovell/spark,ptkool/spark,maropu/spark,bdrillard/spark,chuckchen/spark,ueshin/apache-spark,zero323/spark,kevinyu98/spark,milliman/spark,rednaxelafx/apache-spark,techaddict/spark,zuotingbing/spark,techaddict/spark,WindCanDie/spark,kevinyu98/spark,HyukjinKwon/spark,techaddict/spark,aosagie/spark,pgandhi999/spark,xuanyuanking/spark,zero323/spark,witgo/spark,cloud-fan/spark,kiszk/spark,vinodkc/spark,dbtsai/spark,zero323/spark,zero323/spark,holdenk/spark,rezasafi/spark,WeichenXu123/spark,techaddict/spark,cloud-fan/spark,rezasafi/spark,JoshRosen/spark,gengliangwang/spark,hvanhovell/spark,darionyaphet/spark,actuaryzhang/spark,techaddict/spark,aosagie/spark,jiangxb1987/spark,holdenk/spark,LantaoJin/spark,actuaryzhang/spark,vinodkc/spark,milliman/spark,apache/spark,rednaxelafx/apache-spark,spark-test/spark,witgo/spark,kevinyu98/spark,kiszk/spark,LantaoJin/spark,HyukjinKwon/spark,BryanCutler/spark,HyukjinKwon/spark,aosagie/spark