Use correct DWARF version
Instead of checking for DWARF4 only we now check for DWARF5 if clang is greater or equal to version 18. Only if Fedora is less than 38 we fall back to require DWARF4.
The grep in the output of `llvm-dwarfdump` could potentially match other hex numbers and now only matches the version.