[SPARK-58045][INFRA] Verify the linked JIRA matches the PR in `merge_spark_pr.py`