[DOC][MINOR] Fix minor error in the code of graphx guide
[DOC][MINOR] Fix minor error in the code of graphx guide

## What changes were proposed in this pull request?

Fix minor error in the code "sketch of pregel implementation" of GraphX guide.
This fixed error relates to `[SPARK-12995][GraphX] Remove deprecate APIs from Pregel`

## How was this patch tested?

N/A

Closes #22780 from WeichenXu123/minor_doc_update1.

Authored-by: WeichenXu <b702da6e50975f71fc6618ef763b578cd392d17f@databricks.com>
Signed-off-by: Dongjoon Hyun <6ff48b33cbb828151035af58a92f18a39f1d1036@apache.org>

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