Fix for GROOVY-6158

GROOVY-6158 ObjectGraphBuilder.NewInstanceResolver disregards node value

This fix introduces a binary incompatibility as a method signature
was changed from

    Object newInstance(Class klass, Map attributes)

to

    Object newInstance(Class klass, Object value, Map attributes)

Merge with caution (into 2.2 or greater) or wait until 3.0