GRAILS-11323 Fallback for autowire properties optimization