HHH-9336 Avoid creation of TypedValue objects in AbstractPersistentCollection#getOrphans(Collection, Collection, String, SessionImplementor) for some ID types.

See issue https://hibernate.atlassian.net/browse/HHH-9336 for details.