Fix module group accessor for resolved artifacts

This fixes the following error when using gradle-witness with a project that requires Gradle 2.+:

    No such property: resolvedDependency for class: org.gradle.api.internal.artifacts.DefaultResolvedArtifact