Make guava hash function static to only initialize once

This reduces the performance difference between Guava and the others: https://microbenchmarks.appspot.com/runs/cd0050ec-696e-46a4-9876-78dd3343d991