Handle empty and missing log files more gracefully.

The following enhancements were done for Bug 450146

* genlop will now warn if a specified log file is not readable.
* We no longer generate "Use of uninitialized value" if the first line of
  the log file has no data
* If no specified log files are readable, we generate a warning and
  default to /var/log/emerge.log