Refactor: cts: Make journal log limit handling more efficient
Don't bother iterating over the whole list of messages if the last
message is before the limit. They're sorted, so that implies all
messages were logged before the limit.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>