fix java hash for negative hash values

Danga client multiplies bucket by -1 when hash % nserver is < 0