Fix for GRAILS-11647 It's not possible to override collection properties with custom Hibernate UserTypes

The same as #531 but for 2.3.x branch.