rsyslog: fix compile error

Fix rsyslog compile error. It is MG TC issue too.

| ../runtime/.libs/librsyslog.a(librsyslog_la-sd-daemon.o): In function
`sd_is_mq':
| /buildarea/kkang/build-glibc-std-aarch64/bitbake_build/tmp/work/aarch64-wrs-linux/rsyslog/7.4.4-r12.0/rsyslog-7.4.4/runtime/sd-daem
on.c:398: undefined reference to `mq_getattr'
| collect2: error: ld returned 1 exit status
| make[2]: *** [rsyslogd] Error 1

Signed-off-by: Kai Kang <kai.kang@windriver.com>