[3.10] main/rsyslog: fix CVE-2019-17041 and CVE-2019-17042

Closed Leo requested to merge Leo/aports:3.10-rsyslog into 3.10-stable

Merge request reports