Fixing segfault for solc if stdin is given as input file

- Solc should now check its input files and skip them if they don't
  exist or if they are not a valid file
Merge pull request #589 from LefterisJP/solc_stdin_fix

Fixing segfault for solc if stdin is given as input file