Merge branch 'v7-stable' of https://github.com/rsyslog/rsyslog into v7-stable
fix compiler warnings on some platforms
Merge branch 'v7-stable' into v8-stable