GROOVY-6876: Setter may not be found if inferred type and setter type are of boxed types