Fix corrupted .eh_frame section with LTO and --gc-sections.