Introduce a BytecodeDumper class for reuse in tests
GROOVY-6968: Improvements to @ASTTest