[SPARK-35947][INFRA] Increase JVM stack size in release-build.sh
[SPARK-35947][INFRA] Increase JVM stack size in release-build.sh

### What changes were proposed in this pull request?

Like SPARK-35825, this PR aims to increase JVM stack size via `MAVEN_OPTS` in release-build.sh.

### Why are the changes needed?

This will mitigate the failure in publishing snapshot GitHub Action job and during the release.

- https://github.com/apache/spark/actions/workflows/publish_snapshot.yml (3-day consecutive failures)

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

N/A

Closes #33149 from dongjoon-hyun/SPARK-35947.

Authored-by: Dongjoon Hyun <6ff48b33cbb828151035af58a92f18a39f1d1036@apache.org>
Signed-off-by: Hyukjin Kwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>

rednaxelafx/apache-spark,gengliangwang/spark,jiangxb1987/spark,shaneknapp/spark,WeichenXu123/spark,holdenk/spark,vinodkc/spark,milliman/spark,wangyum/spark,WeichenXu123/spark,JoshRosen/spark,shaneknapp/spark,hvanhovell/spark,nchammas/spark,rednaxelafx/apache-spark,zero323/spark,gengliangwang/spark,zzcclp/spark,wangyum/spark,shaneknapp/spark,apache/spark,gengliangwang/spark,hvanhovell/spark,zero323/spark,mahak/spark,srowen/spark,JoshRosen/spark,srowen/spark,JoshRosen/spark,cloud-fan/spark,nchammas/spark,cloud-fan/spark,wangyum/spark,wangmiao1981/spark,xuanyuanking/spark,wangmiao1981/spark,xuanyuanking/spark,cloud-fan/spark,zero323/spark,vinodkc/spark,HyukjinKwon/spark,ueshin/apache-spark,HyukjinKwon/spark,witgo/spark,vinodkc/spark,cloud-fan/spark,dongjoon-hyun/spark,chuckchen/spark,xuanyuanking/spark,apache/spark,zzcclp/spark,wangyum/spark,JoshRosen/spark,xuanyuanking/spark,vinodkc/spark,srowen/spark,dongjoon-hyun/spark,JoshRosen/spark,wangmiao1981/spark,witgo/spark,mahak/spark,shaneknapp/spark,zzcclp/spark,holdenk/spark,WeichenXu123/spark,cloud-fan/spark,mahak/spark,cloud-fan/spark,shaneknapp/spark,milliman/spark,wangmiao1981/spark,witgo/spark,chuckchen/spark,dongjoon-hyun/spark,xuanyuanking/spark,WeichenXu123/spark,ueshin/apache-spark,wangyum/spark,rednaxelafx/apache-spark,ueshin/apache-spark,xuanyuanking/spark,nchammas/spark,nchammas/spark,mahak/spark,rednaxelafx/apache-spark,holdenk/spark,hvanhovell/spark,witgo/spark,taroplus/spark,zero323/spark,gengliangwang/spark,apache/spark,holdenk/spark,zzcclp/spark,shaneknapp/spark,milliman/spark,srowen/spark,zzcclp/spark,vinodkc/spark,milliman/spark,xuanyuanking/spark,chuckchen/spark,HyukjinKwon/spark,mahak/spark,vinodkc/spark,hvanhovell/spark,mahak/spark,witgo/spark,jiangxb1987/spark,taroplus/spark,ueshin/apache-spark,zero323/spark,JoshRosen/spark,milliman/spark,WeichenXu123/spark,dongjoon-hyun/spark,jiangxb1987/spark,jiangxb1987/spark,mahak/spark,wangyum/spark,dongjoon-hyun/spark,zzcclp/spark,HyukjinKwon/spark,WeichenXu123/spark,apache/spark,chuckchen/spark,chuckchen/spark,ueshin/apache-spark,taroplus/spark,wangmiao1981/spark,JoshRosen/spark,rednaxelafx/apache-spark,nchammas/spark,milliman/spark,ueshin/apache-spark,hvanhovell/spark,jiangxb1987/spark,rednaxelafx/apache-spark,dongjoon-hyun/spark,srowen/spark,apache/spark,shaneknapp/spark,taroplus/spark,milliman/spark,HyukjinKwon/spark,vinodkc/spark,gengliangwang/spark,witgo/spark,apache/spark,witgo/spark,cloud-fan/spark,hvanhovell/spark,HyukjinKwon/spark,wangmiao1981/spark,taroplus/spark,ueshin/apache-spark,jiangxb1987/spark,apache/spark,jiangxb1987/spark,gengliangwang/spark,nchammas/spark,nchammas/spark,holdenk/spark,chuckchen/spark,chuckchen/spark,hvanhovell/spark,gengliangwang/spark,wangmiao1981/spark,srowen/spark,srowen/spark,WeichenXu123/spark,dongjoon-hyun/spark,zero323/spark,holdenk/spark,zero323/spark,holdenk/spark,taroplus/spark,wangyum/spark,zzcclp/spark,taroplus/spark,HyukjinKwon/spark,rednaxelafx/apache-spark