[Truffle] Fix compilation of hash literals by making put and get on HashMap slow paths.