[SPARK-3410] The priority of shutdownhook for ApplicationMaster should not be integer literal, rather than refer constant.

I think, it need to keep the priority of shutdown hook for ApplicationMaster than the priority of shutdown hook for o.a.h.FileSystem depending on changing the priority for FileSystem.