GRAILS-11323 Fallback for autowire properties optimization

Following this bug report:

http://jira.grails.org/browse/GRAILS-11323