erlc: fix two regressions

* headers referenced via -include_lib() were not properly
  resolved to absolute filenames

* .erl files found in sub dirs of src_dirs were not properly
  resolved to absolute filenames