Fix bug in GRAILS-7170 changes (g:message encodeAs="none/raw" didn't work)