GROOVY-7059: @InheritConstructors should replicate annotations on super constructors (tweak tests for diff Java versions)