Only output defname if the declname isn't there

The defname is the definition name, whereas we'd prefer the declaration
name which is from the header file and is more likely to represent the
naming that should be in the API.

We also make the defname output emphasised like the declname output as
it seems to work and they are equivalent.
Add defname fix to the changelog
Merge branch 'defname'