change the way stdin is read

When a program is submitted via bsub etc., isatty(fileno(stdin))
is always false. The old seqtk will attempt to read from stdin
which is empty. This commit ignores stdin if a file is provided.