hadrian: Don't --export-dynamic on Darwin
When fixing #17962 (closed) I neglected to consider that --export-dynamic is only supported on ELF platforms. Fix this.
When fixing #17962 (closed) I neglected to consider that --export-dynamic is only supported on ELF platforms. Fix this.