[2.8.x] Do not invoke LinkPersister#isLinkContent for attributes

As in this case, we KNOW it's an attribute, and attribute
content is what we are interested in.

Original PR
https://github.com/sonatype/nexus-oss/pull/444