release changelog script: avoid .<space> behind commit-only entries

Authored by kossebau on Feb 5 2020, 11:02 PM.