HADOOP-11247. Fix a couple javac warnings in NFS. Contributed by Brandon Li.