[SPARK-3279] Remove useless field variable in ApplicationMaster