GROOVY-5998: Using subscript operator on properties with a Builder and @DelegatesTo doesn't work

added non regression test