Fix issue 12965 - DMD sets ELFOSABI to ELFOSABI_LINUX on all systems

This will properly set the ELF OSABI field based on the target (for ELF targets).

https://issues.dlang.org/show_bug.cgi?id=12965