HBASE-10143 replace WritableFactories's hashmap with ConcurrentHashMap (Liang Xie via Stack)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1559923 13f79535-47bb-0310-9956-ffa450edef68