[SPARK-37730][PYTHON] Replace use of MPLPlot._add_legend_handle with MPLPlot._append_legend_handles_labels
[SPARK-37730][PYTHON] Replace use of MPLPlot._add_legend_handle with MPLPlot._append_legend_handles_labels

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

Replace use of MPLPlot._add_legend_handle (removed in pandas) with MPLPlot._append_legend_handles_labels in histogram and KDE plots.
Based on:  https://github.com/pandas-dev/pandas/commit/029907c9d69a0260401b78a016a6c4515d8f1c40

### Why are the changes needed?

Fix of SPARK-37730. plot.hist and plot.kde don't throw AttributeError for pandas=1.3.5.

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

### How was this patch tested?

~~Tested with existing plot test on CI (for older pandas only).~~ (it seems that CI doesn't run matplotlib tests, see https://github.com/apache/spark/pull/35000#issuecomment-1001267197)

I've run tests on a local computer, see https://github.com/apache/spark/pull/35000#issuecomment-1001494019 :
```
$ python python/pyspark/pandas/tests/plot/test_series_plot_matplotlib.py
```

:question: **QUESTION:** Maybe add plot testing for pandas 1.3.5 on CI? (I've noticed that CI uses `pandas=1.3.4`, maybe update it to `1.3.5`?)

Closes #35000 from mslapek/fixpythonplot.

Authored-by: Michał Słapek <3d6b439d5603af5ff1c3f75b775ff54885ad5dc3@users.noreply.github.com>
Signed-off-by: Hyukjin Kwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>

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