[SPARK-3487] Remove unused import in ApplicationMaster