Allow option to avoid loading imfile module twice.

This throws a warning with version 8 of rsyslog.