HDFS-7107. Avoid Findbugs warning for synchronization on AbstractNNFailoverProxyProvider#fallbackToSimpleAuth. Contributed by Chris Nauroth.

(cherry picked from commit 47491f9a119faf75abaa56f676ae93460583bd3f)