GRAILS-11536 fix flushMode setting for Hibernate 4 version of GrailsOpenSessionInViewInterceptor