Prevent journal from logging an empty entry

This does not prevent the user from logging an entry full of spaces, but
that is the user's prerogative. It just avoids the case where the user
types journal log and quits the editor without having added anything.