Implement java.util.Arrays.hashCode