journalprocessor: Fix freeze on empty offset ranges.
The state is only updated after consuming messages; so if there is no message at all, JournalClientOffsetRanges never notices there is no message to wait for.
Migrated from D6028 (view on Phabricator)