imjournal: make $IgnorePreviousMessages take effect even without a state file

Previously, $StateFile had to be specified for $IgnorePreviousMessages
to work.