HDFS-7449. Add metrics to NFS gateway. Contributed by Brandon Li

(cherry picked from commit f6f2a3f1c73266bfedd802eacde60d8b19b81015)