Fixed hashmap put() to properly qualify erase().

Review: https://reviews.apache.org/r/14560