GRAILS-11242 - don't allow non-existent properties to be constrained if @GrailsCompileStatic is present