Use ale#path#GetAbsPath to resolve build directory paths, which correctly
handles both absolute and relative paths. When the dirname is absolute,
derive the project root from the parent of the build directory.
Co-authored-by: w0rp <3518142+w0rp@users.noreply.github.com>