Fix detection of rsyslog version

The backslashes used in the sed command were lost (due to them being
seen as escape backslashes by ruby, I guess).