fix: use DWARF 4 standard when building debug

GCC 11 and Clang 14 now use the DWARF 5 standard by default however
ArmDS currently only supports up to version 4. Therefore, for debug
builds, ensure the DWARF 4 standard is used.

Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Change-Id: Id7a9e222ff94dbf1cc523b27188f76f88c21c4e6
1 file changed