tools: Add .init_array/.fini_array sections to linker scripts.