GROOVY-6075: Support for generation of 1.6 and 1.7 bytecode