fix for GRAILS-11166 "Messages.properties are not loaded when using Grails run-war"