Trim extra newlines at the end of the profile prototype.

Fixes #555.
Apply patch from RT 77693 / GH #556
Mention changes to perlcritic.el in the change log (for #556).
Merge branch 'master' into dev