HHH-9003

https://hibernate.atlassian.net/browse/HHH-9003

Memory allocation optimizations for:
- hashcode calculations
- dirty checking
- key equality checks
- ...