Allow option to avoid loading imfile module twice.

This throws warning with version 8 of rsyslog.