[SPARK-3562]Periodic cleanup event logs

link #2391 
Maybe we should make the naming of this config consistent by calling this `spark.history.fs.update.interval.ms` (and deprecate the old one)? We don't have to do that in this PR.