HDFS-7093. Add config key to restrict setStoragePolicy. (Arpit Agarwal)