GRAILS-10335 - Override Grails mappings for collections when property is mapped with a custom Hibernate UserType

The same PR as this one https://github.com/grails/grails-core/pull/388 but for Grails 2.3.