HHH-5920: improve the performance of PersistentClass

Conflicts:
	hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java