Linker: Add exception support for x86

Implented 'dl_iterate_phdr' that gcc uses to determine locations that receive
exceptions.