lcd-cat: Use readline to avoid buffering stdin

It appears that the line iterator on sys.stdin seems to do some aggressive
buffering which prevents it from reading line-at-a-time (for example when
entering lines from the console or when piped from another app). Using readline
seems to avoid this issue.